﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PictureTool
{
    public partial class ShowImg : Form
    {
        public ShowImg()
        {
            InitializeComponent();
        }

        private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
        {
            textBox1.Text = e.X + "," + e.Y;
        }

        private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
        {
            MessageBox.Show(e.X+","+e.Y);
        }
    }
}
